package com.example.lock;

import java.util.concurrent.ConcurrentHashMap;

/**
 * @author Jonathan
 * 2021/5/18 22:18
 */
public class MapDemo {
    public static void main(String[] args) {
        ConcurrentHashMap<String, String> map = new ConcurrentHashMap<>(10);
        map.put("1", "2");
        String s = map.get("1");
    }
}
